<?xml version="1.0" encoding="UTF-8"?>

<window xmlns:web="http://www.yonyou.com/uapmobile/dsl" id="PurchaseQuery" canvaswidth="320" canvasheight="569" orientation="vertical" controller="PurchaseQueryController" namespace="com.yonyou.ncmm_pac_pda">
    <import ref="PurchaseQuery.css" type="css"/>
    <link type="text/css" href="sys/theme.css"/>
    <script src="#{path.controller}/commonjs/extjs/jquery-2.1.1.min.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_http.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_pub.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_pubmenu.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_dateutil.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_materialvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_deptvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_suppliervo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_datamange.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_mappingheadvo.js" type="text/javascript"/>
    <script src="#{path.controller}/puin/ncmm_puinutil.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_dateutil.js" type="text/javascript"/>
    <div id="viewPage0" onload="initQueryPage()">
        <navigatorbar id="navigatorbar0" title="查询条件" class="navigatorbarclass">
            <input id="button0" class="ngbbuttonclass" onclick="this.button0_onclick()" type="button"/>
            <label id="label0"/>
            <input id="button5" value="清空值" class="textbtnclass" onclick="clearctx()" type="button"/> 
        </navigatorbar>
        <Scrollview id="Scrollview_panel12" height="fill" width="fill" hScrollEnabled="disabled">
            <div id="panel12">
                <div id="panel0">
                    <div id="panel3">
                        <label id="label1" visible="false"/>
                        <label id="label2">物料</label>
                        <input id="textbox0" bindfield="materialname" maxlength="256" type="text" disabled="disabled"/>
                        <input id="button1" class="textbtnclass" onclick="showMaterialRef()" type="button"/> 
                    </div> 
                </div>
                <div id="panel1">
                    <div id="panel14">
                        <label id="label3" visible="false"/>
                        <label id="label4">单据号</label>
                        <input id="textbox1" bindfield="vbillcode" maxlength="256" type="text"/> 
                    </div> 
                </div>
                <div id="panel2">
                    <div id="panel15">
                        <label id="label5" visible="false"/>
                        <label id="label6">采购部门</label>
                        <input id="textbox2" bindfield="deptname" maxlength="256" type="text" disabled="disabled"/>
                        <input id="button2" class="textbtnclass" onclick="showDeptRef()" type="button"/> 
                    </div> 
                </div>
                <div id="panel5">
                    <div id="panel16">
                        <label id="label11" visible="false"/>
                        <label id="label12">供应商</label>
                        <input id="textbox3" bindfield="suppliername" maxlength="256" type="text" disabled="disabled"/>
                        <input id="button3" class="textbtnclass" onclick="showSupplierRef()" type="button"/> 
                    </div> 
                </div>
                <div id="panel6">
                    <div id="panel13">
                        <label id="label13" visible="false"/>
                        <label id="label14">供应商批次号</label>
                        <input id="textbox6" bindfield="vvendbatchcode" maxlength="256" placeholder="" type="text"/> 
                    </div> 
                </div>
                <div id="panel7">
                    <div id="panel22">
                        <label id="label15" visible="false"/>
                        <label id="label16">批次号</label>
                        <input id="textbox4" bindfield="batchcode" maxlength="256" type="text"/> 
                    </div> 
                </div>
                <div id="panel9">
                    <div id="panel18">
                        <label id="label17" visible="false"/>
                        <label id="label19">单据日期从</label>
                        <input id="dateinput0" bindfield="dbillbegindate" placeholder="" format="yyyy-MM-dd" type="date"/> 
                    </div> 
                </div>
                <div id="panel4">
                    <div id="panel19">
                        <label id="label9" visible="false"/>
                        <label id="label10">单据日期到</label>
                        <input id="dateinput1" bindfield="dbillendate" placeholder="" format="yyyy-MM-dd" type="date"/> 
                    </div> 
                </div>
                <div id="panel8">
                    <div id="panel20">
                        <label id="label18" visible="false"/>
                        <label id="label20">计划到货日期从</label>
                        <input id="dateinput2" bindfield="dplanreceivedateb" placeholder="" format="yyyy-MM-dd" type="date"/> 
                    </div> 
                </div>
                <div id="panel10">
                    <div id="panel21">
                        <label id="label21" visible="false"/>
                        <label id="label22">计划到货日期到</label>
                        <input id="dateinput3" bindfield="dplanreceivedatee" placeholder="" format="yyyy-MM-dd" type="date"/> 
                    </div> 
                </div>
                <div id="panel23">
                    <input id="button6" value="查询" class="textbtnclass" onclick="queryNCPuInData()" type="button"/> 
                </div> 
            </div>
        </Scrollview> 
    </div> 
</window>
